Note: The-ggdb option in this example differs from Nigel's article in that it tells the GNU Compiler Collection ( GCC) to optimize the program for debugging with GDB. 注意:此示例中的-ggdb选项与Nigel文章中所述的选项不同,因为它告诉GNU编译器集(GCC)优化该程序,以便于使用GDB来进行调试。
There are three ways to use the compiler: bytecode production, full compilation, or simply as a debugging/ optimizing tool. 使用编译器有三种方法:字节码、完全编译或简单地作为一个调试/优化工具。
When you compile your code using the-g debugging option, the compiler includes debugging information in the resulting object file which relates source line numbers to the program instructions. 当您使用g调试选项汇编您的代码时,汇编器会在结果的对象文件中包含调试信息,该目标文件关联了项目指导的代码行行号。
One of the main advantages of an interpreter over a compiler is the ease of providing debugging facilities to the programmer. 解释程序化于编译程序的主要优点之一是易于为程序员提供调试功能。
HI-TECH's PRO compiler automatically preserves all the relationships between the object code and the original C-code, enabling the quick and simple debugging of optimized code. HI-TECHPRO编译器能够自动保存对象代码和原始C代码之间的所有关系,从而实现对最优化代码快速且简单的调试。
This paper describes a general remote debug system ( GRDBS), which can debug more embedded systems 'kernel and related application in different compiler environment. It also supports multi-user debugging. 文章描述了一个通用远程调试系统GRDBS(GeneralRemoteDebugSystem),该系统具有较好的通用性,可以调试不同编译器编译的嵌入式操作系统及其应用,并支持多用户协作调试。
Development platform includes component interface supported IDL compiler, system debugging and measuring tools, description of distributed component and packing tools. 其中,开发平台包括支持构件接口定义语法的IDL编译器,系统调试与检测工具,以及分布构件的描述与打包工具;
Data flow analysis is widely applied to software engineering, such as compiler optimization, program validation, debugging, testing, understanding, slicing, parallelizing and so on. 数据流分析被广泛用于解决编译优化、程序验证、理解、分片、调试、测试以及并行化等问题。
The paper summarizes the logical error and run-time error that the compiler can not find, in order to help beginners better to master debugging skill and improve programming ability. 总结了编译器不能发现的常见运行错误和逻辑错误,以帮助初学者能较好的掌握程序调试技巧,提高编程能力。